package com.fire.communication.model.margin;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fire.communication.common.base.BasisEntity;

/**
 * @Author: YangYu
 * @ClassName: SmsVoiceMargin
 * @Date: Created in 11:23 2023/5/26
 * @Description: 短信余量
 */
@TableName("sms_voice_margin")
public class SmsVoiceMargin extends BasisEntity {

    /**
     * 主键
     */
    private String id;
    /**
     * 机构或单位ID
     */
    private String homeId;
    /**
     * 今日已用条数
     */
    private Integer numberPieces;
    /**
     * 已分配条数
     */
    private Integer count;
    /**
     * 总条数
     */
    private Integer allCount;
    /**
     * 类型 1 短信 2 语音
     */
    private Integer type;
    /**
     * 单位条数
     */
    private Integer businessCount;
    /**
     * 机构ID
     */
    private String orgId;


    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getHomeId() {
        return this.getString("homeId");
    }

    public void setHomeId(String homeId) {
        this.put("homeId",homeId);
    }

    public Integer getNumberPieces() {
        return this.getInteger("numberPieces");
    }

    public void setNumberPieces(Integer numberPieces) {
        this.put("numberPieces",numberPieces);
    }

    public Integer getCount() {
        return this.getInteger("count");
    }

    public void setCount(Integer count) {
        this.put("count",count);
    }

    public Integer getAllCount() {
        return this.getInteger("allCount");
    }

    public void setAllCount(Integer allCount) {
        this.put("allCount",allCount);
    }

    public Integer getType() {
        return this.getInteger("type");
    }

    public void setType(Integer type) {
        this.put("type",type);
    }

    public Integer getBusinessCount() {
        return this.getInteger("businessCount");
    }

    public void setBusinessCount(Integer businessCount) {
        this.put("businessCount",businessCount);
    }

    public String getOrgId() {
        return this.getString("orgId");
    }

    public void setOrgId(String orgId) {
        this.put("orgId",orgId);
    }
}
